﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="webapi.views.login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>学生选课系统</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css"
    integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
    crossorigin="anonymous" />
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"
    integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
    crossorigin="anonymous"></script>
  <link href="../public/css/normalize.css" rel="stylesheet" type="text/css" />
  <link href="../public/css/base.css" rel="stylesheet" type="text/css" />
  <style type="text/css">
    html
    {
    }
    .myBody
    {
      text-align: center;
      background-image: url("../public/img/4.jpg");
      background-size: 100vw 100vh;
    }
    .tao_container
    {
      margin: 25vh;
      display: inline-block;
      padding: 10px 50px 50px;
      text-align: center;
      background: rgba(255,255,255, 0.9);
    }
    .title
    {
      padding: 20px 0;
      font-size: 25px;
    }
    form
    {
      display: inline-block;
    }
    #stuId, #pwd 
    {
        width: auto;
        display: inline;
    }
    .tao_row
    {
        margin: 5px 0;
    }
    .tao_last_row 
    {
        margin-top: 25px;
    }
  </style>
</head>
<body class="myBody">
  <form id="form1" runat="server">
  <div class="tao_container">
    <div class="title">
      华软学生选课系统</div>
    <div class="tao_row">
      <asp:Label ID="Label1" runat="server" Text="学号:"></asp:Label>
      <asp:TextBox ID="stuId" runat="server" class="form-control"></asp:TextBox>
    </div>
    <div class="tao_row">
      <asp:Label ID="Label2" runat="server" Text="密码:"></asp:Label>
      <asp:TextBox ID="pwd" runat="server" class="form-control" TextMode="Password" ></asp:TextBox>
    </div>
    <div class="tao_row tao_last_row">
      <asp:Button ID="btn_login" class="btn btn-primary" runat="server" OnClick="btn_login_Click" Text="登录" />
      <asp:Button ID="btn_empty" class="btn btn-warning" runat="server"  OnClick="btn_empty_Click"
        Text="重写" />
    </div>
  </div>
  </form>
</body>

</html>
